<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>

        <script type="text/javascript" language="javascript">
            var open_cur = 0;
            $j = jQuery.noConflict();
            $j(document).ready(function(){
              validateform("form-input-customer");
             

            });
        </script>
        <style type="text/css">
            .inputTextarea textArea{
                width:450px;
            }
            .fields_input span{
                float: left;
                padding: 5px 0 0 5px;
                font-weight: bold;
            }
            .addbackground{
                float:left;
                margin-left: -10px;
                padding: 7px 0 7px 10px ;
                background-color: #D1E1F1;
            }
        </style>
    </head>

    <f:view>
        <h:form id="form-input-customer" >
        <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
        <body style=" float:left; width:auto; height:auto; margin:0px;">
            <div class="popup" style="height:310px; width:630px">
                <div class="popup-header">
                    <div class="title"><h:outputText value="Thêm ghi chú"/></div>
                </div>
                <div class="popup-content">
                    <div class="main_content">
                        <div class="form_item_content" style="display: block;margin-top: 10px;">
                            <div class="fields_input">
                                <label><h:outputText value="Hạng mục"/>:</label>
                                <span><h:outputText value="#{B630Bean.title}"/></span>
                            </div>
                            <div class="fields_input addbackground">
                                <label><h:outputText value="Tiêu đề"/>*:</label>
                                <h:inputText value="#{B630Bean.bv651}" style="width:450px;height:23px;" styleClass="required"/>
                            </div>

                            <div class="fields_input inputTextarea">
                                <label><h:outputText value="Nội dung"/>:</label>
                                <h:inputTextarea value="#{B630Bean.bv652}" style="height:80px; padding:3px 0 0 3px"/>
                            </div>
                            <div class="alert"></div>
                        </div>
                            
                    </div>
                </div>
                <div class="popup-footer">
                    <h:inputHidden value="#{B630Bean.pb650}" id="pb650"/>
                    <h:inputHidden value="#{B630Bean.fn100}" id="fn100"/>
                    <h:inputHidden value="#{B630Bean.pb630}" id="pb630"/>
                    <h:inputHidden value="#{B630Bean.pageRidiect}" id="page"/>
                    <h:inputHidden value="#{B630Bean.title}" id="title"/>
                    <div class="buttonsave" style="margin-right: 44px;" onclick="jQuery.fancybox.close()"><span><h:outputText value="#{locale.close}"/></span></div>
                    <h:commandButton  id="sumbitEmp" onclick="return validatecheck('cus-input-form-charge');" action="#{B630Bean.updateB650}"  styleClass="buttonsave sumbitEmp" value="LƯU">

                    </h:commandButton>

                </div>
            </div>
        </body>
        </h:form>
    </f:view>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        var yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>